home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 9
/
Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO
/
029a
/
pmandbl.zip
/
PMANDBL
Wrap
Text File
|
1993-04-03
|
3KB
|
87 lines
┌───────────────────────────────────────────────────────────┐
│ P o o r M a n ' s D i s k D o u b l e r │
└───────────────────────────────────────────────────────────┘
How to utilize PKzip and a simple batch file as an automatic
hard disk "doubler" to conserve disk space. This method is
not nearly as fast or efficient as a commercial disk
"doubler", but is used in combination with PKzip, an
excellent Shareware disk compression utility. Users of PKzip
should be registered with PKWARE, Inc. The information
contained in this file may be freely distributed. If you
consider yourself a novice, it may be wise to make a backup
of your application before attempting to use Poor Man's Disk
Doubler to assure that your files will not be lost.
The only requirements are:
1. A word processor or other means to write a batch file in
ASCII code.
2. The files pkzip.exe and zip2exe.exe must be located in a
directory in your autoexec.bat file path statement.
The following example uses your Menu program (optional) to
decompress, run an application, delete the decompressed files
and return to the Menu.
The application in this example will be called Card Game
located in a directory C:\GAMES\CARD, which has a file called
card.exe to execute the application.
1. At the C:\GAMES\CARD dos prompt, create a zip file
cards.zip (the name of the zip file cannot be the same as
the exceptionable file name, in this example card.exe).
This is done by typing pkzip cards.
2. Create a Self-Extracting file by typing zip2exe cards.
3. Delete all files in the directory except cards.exe, the
Self-Extracting file you have just created.
4. Make a subdirectory C:\GAMES\CARD\GO.
5. Write a batch file go.bat as follows:
copy *.* C:\GAMES\CARD\GO
CD\GAMES\CARD\GO
cards
card
del *.*
menu
6. Save go.bat as an ASCII file.
7. Copy go.bat to C:\GAMES\CARD
8. Set up your Menu program (optional) to run go.bat when you
to play Card Game. If you do not start applications from
a Menu program, delete the last line in go.bat.
9. The batch file go.bat works as follows:
copy *.* C:\GAMES\CARD\GO -- copies all files in
C:\GAMES\CARD to subdirectory
C:\GAMES\CARD\GO
CD\GAMES\CARD\GO -- change directory to new subdirectory
cards -- uncompresses the Self-Extracting file cards.exe
card -- to run your application Card Game
(card.exe)
del *.* -- after application is completed, deletes all
files in subdirectory \GO, the files cards.exe
and go.bat located in C:\GAMES\CARD remain
intact
menu -- or applicable optional command to return to your
Menu program
The file names and directories in go.bat may be modified for
any application not critical to hard disk operation. NEVER
attempt to use Poor Man's Disk Doubler on any application
which should not be compressed with PKzip, such as your root
directory, DOS directory, etc.